package Games.Gobang.Game;

import java.io.Serializable;

public class BoardPoint implements Serializable {

	private static final long serialVersionUID = -921781915834891478L;
	
	private int x;
	private int y;
	private ChessmanTypes chessmanType;

	public BoardPoint() {

	}

	public BoardPoint(int x_, int y_, ChessmanTypes cType) {
		this.x = x_;
		this.y = y_;
		this.chessmanType = cType;
	}

	public ChessmanTypes getChessmanType() {
		return chessmanType;
	}

	public void setChessmanType(ChessmanTypes chessmanType) {
		this.chessmanType = chessmanType;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}
}
